﻿import QtQuick 2.0
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
import ConfigElementType 1.0
import "qrc:/qmlComponents/ConfigManager"
import "qrc:/qmlComponents/AxisModulePos"
import "qrc:/qmlComponents/VisionViewer"
import "qrc:/qmlComponents/CustomizedUIElement"

Item {
    ColumnLayout{
        spacing: 20
        RowLayout{
            Layout.alignment: Qt.AlignTop

            ColumnLayout{
                VisionLocationViewer{
                    calibrationName: "PADownLookCameraCalibration"
                    visionLocationName: "SensorTrayDownLookLocation"
                }

                XYModulePos{
                    moduleName: "PickArmXY"
                    posName: "SensorTrayDownLookPos"
                }
            }

            ColumnLayout{
                VisionLocationViewer{
                    calibrationName: "PADownLookCameraCalibration"
                    visionLocationName: "LensTrayDownLookLocation"
                }

                XYModulePos{
                    moduleName: "PickArmXY"
                    posName: "LensTrayDownLookPos"
                }
            }

        }

        RowLayout{
            Layout.alignment: Qt.AlignTop
            RowLayout{
                VisionLocationViewer{
                    calibrationName: "PADownLookCameraCalibration"
                    visionLocationName: "RejectTrayDownLookLocation"
                }

                ColumnLayout{
                    XYModulePos{
                        moduleName: "PickArmXY"
                        posName: "RejectTrayDownLookPos"
                    }
                }

            }
        }
    }

}
